package com.huluobo.base.mvvm;

import androidx.lifecycle.ViewModel;

/**
 * Created by LC on 2024/8/31.
 */
public abstract class BaseViewModel<Repo extends BaseRepo> extends ViewModel {
    protected Repo repo;

    public BaseViewModel() {
        repo = createRepo();
    }

    protected abstract Repo createRepo();
}
